/* navbar globale */
.navbar div ul li a {
    text-decoration: none;
    margin-right: auto;
}
.dropdown-toggle, .nav-link {
    color: #3F3E3E ;
}

/* Liens navbar */

.navbar .ltr:after,
.navbar .nav-link:after {
    content: '';
    display: block;
    border-bottom: 2px solid #E44200;
    width: 0;
    left: 0;
    -webkit-transition: 1s ease;
    transition: 1s ease;
    margin-bottom: -2px;
    padding-bottom: 0.5rem;
}

.navbar .ltr:hover:after,
.navbar div ul li .nav-link:hover:after { 
    width: 100%;
    left: auto;
    right: auto;
}
.navbar .ltr .active:after,
.navbar .hover-active:after,
.navbar div ul li .active:after, 
.navbar-pl .active:after {
    border-bottom: 2px solid #E44200;
    color: #E44200;
    /* box-sizing: content-box; */
    margin-bottom: -2px;
    width: 100%;
}

.navbar .nav-link[aria-expanded="true"]:after{
    border-bottom: 2px solid #E44200;
    box-sizing: content-box;
    margin-bottom: -2px;
    width: 100%;
}
.navbar .nav-link[aria-expanded="true"]{
    margin-right: 10px;
}
.navbar .nav-link[aria-expanded="true"] .d-arrow {
    display: none;
}
/* Liens Megamenu */
.sousThematiqueNavbar.active,
.sousThematiqueNavbar:hover,
.sousFamilleNavbar.active,
.sousFamilleNavbar:hover {
    text-decoration: underline;
    color: #E44200 !important;
    background-color: inherit;
    border-bottom: none;
    margin-bottom: unset;
}

/* navbar phone icon */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(84,64,65,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}
.navbar-toggler {
    color : #3F3E3E !important;
}
/* .navbar-toggler:active .navbar-toggler-icon, .navbar-toggler:focus .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(221, 9, 53, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
} */
/* Reseaux sociaux */
.rs {
    text-decoration: none;
}

@media (min-width: 992px) { 
    .rs {
        margin-left: 0.3rem;
    }
}

.rs:hover, .rs.active {
    text-decoration: none;
    color: #E44200 !important;
    border-bottom: 2px solid;
}
.fa-perso {
    font-size:14px;
}
.navbar-magasin-text {
    margin-top: auto;
    margin-bottom: auto;
    line-height: 1.2;
    font-size: 14px;
    /* light */
    font-weight:300;
}
/* megamenu */
.megamenu-li {
    position: static;
}

.nav-item {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}
.navbar-top {
    z-index: 1030;
    width: 100%;
}

/* @media (min-width: 768px) and (max-width: 991.98px) { 
    .megamenu {
        margin-left: 30%;
    }
    .nav-link {
        margin-left: 30%;
    }
} */
.main-logo{
    position: absolute;
    z-index: 2;
    top: 1rem;
}
.logo-fluid {
    max-width: 100%;
    max-height: 70px;
    transition:  all 0.5s ease;
    -webkit-transition:  all 0.5s ease;
}
@media (min-width: 1200px) { 
    .navbar-nav{
        border-top: 1px solid #707070;
        transition:  all 0.5s ease;
        -webkit-transition:  all 0.5s ease;
    }
    .navbar-top-scrolled .logo-fluid {
        max-height: 50px;
    }
}
@media (min-width: 992px) and (max-width: 1199.98px) { 
    .navbar-top-scrolled .logo-fluid {
        max-height: 20px;
    }
}
@media (min-width: 992px) { 
    .megamenu {
        left: 50%;
        position: absolute !important;
        padding-top: 0;
        padding-bottom: 0;
        width: 100vw;
        background-color: rgba(255, 255, 255, 1);
        margin-left: -50vw;
    }
    .navbar-top {
        position: fixed;
        max-height: 140px;
        background-color: rgba(255, 255, 255, 0.72);
        border-bottom: 1px solid rgba(112, 112, 112, 0.2);
        transition:  all 0.5s ease;
        -webkit-transition:  all 0.5s ease;
    }
    .navbar-top nav.navbar {
        height: 60px;
        transition:  all 0.5s ease;
        -webkit-transition:  all 0.5s ease;
    }
    .navbar-top-scrolled {
        background-color: rgba(255, 255, 255, 1) ;
        padding-bottom: 0.9rem;
    }
    .navbar-top nav.navbar-scrolled {
        height: 25px;
    }
    .navbar-top nav.navbar-scrolled .navbar-nav {
        margin-top: 0.5rem;
        
    }
    .navbar-top nav.navbar-scrolled .nav-link  {
        padding-top: 0;
    }

    .navbar-top.active {
        background-color: rgba(255, 255, 255, 1);
        
    }
    #familleProduitNavbar, #sousFamilleNavbar, #textFamilleProduitNavbar, #inspirationNavbar, #inspirationSousThematiqueNavbar, #inspirationTextNavbar{
        margin-bottom: 3rem;
        margin-top: 3rem;
    }
    .no-header{
        margin-top: 140px;
    }
    .no-in-header{
        padding-top: 95px;
    }
}

@media (max-width: 991.98px) { 
    .sousFamilleNavbar, .sousThematiqueNavbar {
        margin-left: 2rem;
    }
    .navbar-collapse {
        z-index: 1010;
    }
    .navbar-top {
        background-color: #FFFFFF;
    }
    .megamenu {
        margin-top: 0;
        margin-bottom: 0;
    }
    /* #sousFamilleNavbar a:first-child, #inspirationSousThematiqueNavbar a:first-child {
        border-top: 1px solid #CCCCCC;
    } */
}

.dropdown-menu {
    top: auto !important;
}

/* mdb */
.navbar { 
    box-shadow: none !important; 
} 

/* Recherche */
.active-red-2 input[type=text]:focus:not([readonly]) {
    border: 1px solid #E44200;
    box-shadow: none;
    background: none;
    color: #3F3E3E;
    font-size: 14px;
}
.active-red-2 input[type=text] {
    border-bottom: none;
    height: 22px;
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
    background: none;
    color: #3F3E3E;
    font-size: 14px;
}

.recherche::placeholder{
    color: #3F3E3E;
    font-size: 14px;
    font-weight: 300;
}

.fa-search:hover {
    cursor: pointer;
}
.lock-scroll{
    overflow: hidden;
}
.nav-link {
    font-size: 16px;
    /* bold */
    font-weight:700;
    text-transform: uppercase;
    transition:  all 0.5s ease;
    -webkit-transition:  all 0.5s ease;
}
.navbar-top .dropdown-item, .navbar-top .dropdown-item strong {
    margin-top: 0.5em;
    font-size: 16px !important;
}
/* body assombri pour megamenu */
@media (min-width: 992px){
    .bg-megamenu {
        background-color: rgba(0,0,0,0.5);
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        z-index: 1;
    }
    .bg-white{
        background-color: #FFFFFF !important;
    }
}